<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib tagdir="/WEB-INF/tags/" prefix="util" %>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="core" %>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <base href="${baseURL}/" />
        <link rel="stylesheet" type="text/css" href="assets/css/bootstrap.css">
        <title>Login</title>
    </head>
    <body>
        <div class="row">
            <div class="col-md-7 col-md-offset-2">
                <!--<form role="form" method="post" name="form-compromisso" > <!--action="intranet/compromisso/confirmar"> -->
                    <div class="panel-heading"></div>
                    <div class="row">
                        <div class="col-md-11">
                            <div class="form-group row">
                                <label for="assunto" class="col-md-2 control-label">Assunto:</label>
                                ${compromisso.assunto}
                            </div>
                            <div class="form-group row">
                                <label for="local" class="col-md-2 control-label" maxlength="50" >Local: </label>
                                ${compromisso.localCompromisso}

                            </div>
                            <div class="form-group row">
                                <label for="dataInicio" class="col-md-2 control-label">Inic&iacute;o:</label>
                                <fmt:formatDate pattern="dd/MM/yyyy hh:mm:ss" value="${compromisso.dataInicio}"/>
                            </div>

                            <div class="form-group row">
                                <label for="dataTermino" class="col-md-2 control-label">T&eacute;rmino: </label>
                                <fmt:formatDate pattern="dd/MM/yyyy hh:mm:ss" value="${compromisso.dataTermino}"/>

                            </div>
                            <div class="form-group row">
                                <label for="diaInteiro" class="col-md-2 control-label">Dia inteiro? </label>
                                <c:if test="${compromisso.diaInteiro}">"Sim"</c:if>
                            </div>
                            <div class="form-group row">
                                <label for="textareaDescricao" class="col-md-2 control-label">Descri&ccedil;&atilde;o:</label>
                                ${compromisso.descricao}
                            </div>
                             <div class="btn-group">
                                <a class="btn btn-primary" href="intranet/compromisso/editar?id=${compromisso.id}"><i class="glyphicon glyphicon-edit"></i></a>
                                <a class="btn btn-danger" href="intranet/compromisso/excluir?id=${compromisso.id}"><i class="glyphicon glyphicon-trash"></i></a>
                            </div>
                        </div>
                    </div>
               <!-- </form> -->
            </div>           
        </div>
    </body>
</html>


